import request from './request';

// 微信支付获取config
export function pay_wxPay(data) {
  return request({
    url: 'pay/wxPay',
    method: 'post',
    data
  });
}

//支付宝支付
export function pay_aliPayForWebPage(data) {
  return request({
    url: 'pay/aliPayForWebPage',
    method: 'post',
    data
  });
}